package com.shiroa.service.impl;

import com.shiroa.entity.SysMenu;
import com.shiroa.mapper.SysMenuMapper;
import com.shiroa.service.ISysMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单权限表 服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2023-05-15
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements ISysMenuService {

    @Override
    public List<SysMenu> getByRoleIdList(List<Long> roleIdList) {
        return getBaseMapper().selectByRoleIdList(roleIdList);
    }
}
